Note that DrawBar with a background texture does not work yet because the clipping rectangle is not done yet.