Fixed render problem