Fixed some problem with the pointer screen position.