check null for mCurrentOperation
Merge pull request #15 from nguyenhuy/DrawingPanel.onQuadTo

check null for mCurrentOperation