small fix for copy, paste in text field

part of the solution for https://github.com/codecombat/treema/issues/8