Fixes some renderer compatibility issues.