Fixed pcbnew crash when a locked footprint is dragged from an edge of the screen.