Issue with mouse clicks and space bar, fixed the screen continuously updating