Fixed rendering path bug