bug fix for text input, layer transformation now applied to it