replace debug rendering with actual rectangle rendering
this might be removed entirely but its good for now.