fix typo
fix insensitive rotate gesture detection
This should fix #546.