Fixed bug where pasting would sometimes scroll to the top of page if the user was using the autoresize plugin.