Mouse coordinate conversion.