Fixes @Jakimfett's render issues