The while loop returns true even when I have let go of the left mouse button which would make pressed = false. I don\'t know how to break out of the loop to update the pressed v