applying the fix to the sharedView-frame as described in #323