Fixed bug that caused nullpoint if cursor was moved too much at startup