Fix for weird alignment bug as per http://stackoverflow.com/questions/7957435