Fixed bug in text allignament to center