fix mouse pos translation