Implemented resized/moved callbacks.