Fixed a bug in the Pixel Perfect Collision algorithm