Open a file, press Space, cannot drag canvas

When I open a edited rp file, with Space pressed, I cannot drag canvas. After the first failed drag, the rest all go smoothly. Is it something with initializaiton?