Fix mouse cursor issue. Fixes #117