Fix right mouse zoom function.
Fix middle mouse button contrast function