fix width height to match our preview layer