Use parent coordinates, not screen coordinates, to avoid coordinate space problems.