cleanup magic numbers for inverted coordinate (flipped screen)
cleanup magic numbers for inverted coordinate (flipped screen)