fixed mouse translation