Fixes for lychee.Viewport: Now triggering resize event only if there was a width or height change.