swapped argument order of Rectangle.containsRect - fixes #1095