Limit sub window minimum size (#11510)

Change-Id: I8ad89e74b058246939d77165f2d4b5abc3417886