debugging pixel positions