Fixes relative cursur issue