wrs: limit resize to screen size