Trying to detect mouse clicks properly when zoom is applied, but
something is wrong with my math