Avoid compile error on certain systems.
Remove all remaining uses of renderCompat.
Changes are integrated