fix mouse coords bug