Yes, the program that calculates which pixel is closest to the mouse is a little bit broken bahahah. Thank you a lot for playing my game and for leaving a comment !