send mounse event only in drawing mode
limit max connections