Also, check for movement in the tray before you do anything. That tray will be on feet, and if you've had a leak, then more than likely, the wooden flooring will be damaged or rotten underneath and unstable.
Personally, I'd take the tray out, look at the base floor it's sat on and repair if...