The exception happens only at `onQuadTo` but I think it'll better to check null for `mCurrentOperation` in other methods.