H. Verbeet : d3d: Fix the surface locking rectangle validation.