Fixed the issue with not drawing the red point on the screen