Changed node offset to be calculated from window offset instead of container offset. This fixes incorrect offsets due to offset containers.