Added selection rectangle rendering