Fixed bug with rendering