Resizing plugin not working properly.

Now I am finding that modifying the rect that gets passed to checkSizeConstraint() has no effect on the size of the fx window (for example if I try to lock the aspect ratio when dragging to resize). Which is really quite inconvenient. There appears to be a intermediate window that is being resized appropriately (which is the size of my plugin, and on top of reaper’s FX window). However this still leaves the FX window incorrect. (I can provide screenshots) I’m stumped.