fix a demo bug in mousewheelhandler