render the bounds rectangle correctly