fix left mouse button index; standardise scaled viewport size