Fixed bug where method to render opening tag used wrong sec context