Attempts to fix fatal error when saved cursor position doesn't exist in script