Fixing to run with gear2d port to SDL2