[[ Bug 13222 ]] Use layer_setrect() to ensure old effective rect is inva...

...lidated when moving controls