Cleaned up panel size updates.