Mouse position now takes view size into account