Floating stacks should crop to their bounds

By removing bounds for floating stacks, it allows windows to get drawn
outside their stack bounds.

This reverts part of I972223a0198ec7a11529e39f5c85cfe94e3bab78

Bug: 131753585
Test: Stacks in SF are cropped to the window bounds
Change-Id: Ib4e8a06bbbbfee657d18f7ee9ae0e7dc4c962a61
diff --git a/services/core/java/com/android/server/wm/TaskStack.java b/services/core/java/com/android/server/wm/TaskStack.java
index 481c3ba..0798c59 100644
--- a/services/core/java/com/android/server/wm/TaskStack.java
+++ b/services/core/java/com/android/server/wm/TaskStack.java
@@ -802,12 +802,7 @@
         if (width == mLastSurfaceSize.x && height == mLastSurfaceSize.y) {
             return;
         }
-        if (getWindowConfiguration().tasksAreFloating()) {
-            // Don't crop freeform windows to the stack.
-            transaction.setWindowCrop(mSurfaceControl, -1, -1);
-        } else {
-            transaction.setWindowCrop(mSurfaceControl, width, height);
-        }
+        transaction.setWindowCrop(mSurfaceControl, width, height);
         mLastSurfaceSize.set(width, height);
     }