Cursor now almost works correctly :/ going to sleep for a bit