Fixed rendering bounds problems.