Flag isMouseDown added.