made the position correction code in CCImage a little more readable