mouse cursor is not visible; compiler optimizations