GuiButton.Modal stops working when parent position is set to scale = -1

The GuiButton.Modal property stops working when the parent’s position is set to scale = -1, even if the button is still visible.
In this video, “munlock” is the button with Modal set to true. However, my mouse is still locked to the center, even though it’s clearly visible at the top right.

This place reproduces the issue:
modal bug.rbxl (62.8 KB)

Zoom to first person and notice how your mouse is still locked to the center, when a TextButton with Modal = true is visible at the top left of the screen.

Setting the position of the frame under StarterGui to {-1, 1},{0, 0} fixes the issue and the mouse is correctly unlocked.

Expected behavior

The mouse should always unlock when a button with Modal = true is visible on the screen, no matter the position of the parent.

Hi @CcXxiiHuman_C4t , the issue should be fixed now! Please let me know if you experience it again. Thanks for the report :slight_smile: