Fix cursor shit with fucking magic