If scratch is acting a little funny usually a clean cache helps :). Click on the green flag on how to clear cache with Safari