Implement stagemousedown and stagemouseup events