Fix singletextbox for style swapping