Working mouse cursor alignment finally