Fixed TextProgressBar crashing when Visual Styles were disabled

Fixes #15