Refactored the drawing of bamboo tiles.