hacky fix to make labels display smoothly