Added rectangle rendering