first mouse position working, problems with the centering