Resize panel if appropriate monitor changed its size or position.