fixed crash
Merge pull request #5 from karpark/fixcrash

Fix crash on mouseDown event