Firefox Fix for cursor position when updating forms