Fix render context