Fix render problem