Add support for CursorVisible. Requires 100% less hax than before.