Fixed a bug with getting the playing position