fixing ToggleButton render issue due to DrawArrays drawing too many vertices