`Phaser.Rectangle.prototype.containsRect` calls `Phaser.Rectangle.containsRect`, and passes in `this` as the first argument. `Phaser.Rectangle.containsRect` tests if the first rect (`a`) is inside the second rect (`b`). This means that `rect1.containsRect(rect2)` is actually testing if `rect2` contains `rect1`, which is counter intuitive.