The secret is in the order of the layers of the objects. You must place the rectangle layer below the button (as in the attached image).
Then select the rectangle and under "General", activate the "Maintain layer order" option. This will cause the object to remain below the button even if you click on it. Note that this option is enabled when you publish the file to the service; in Desktop you won't see any changes.