Fixed bug in cursors; used to be off by up to one pixel