fix rendering with safemode enabled