Remove CURSOR_SHAPE #ifdef tests

See issue #333