Viewport width and height detection modified
Release 1.1.5