Fixed an issue with rendering.