Fixed double rendering