Made DMTabBar a subclass of MTGradientView so it draws properly in the new setup