fix RGUI not showing up with single thread and no shared context