solving bug with mousewheel in webgl