Fix software rendering (disable vsync, fix null pointer de-ref)