fixed resizing issue with scope watcher