now checks for finite pixel coordinates