Fixed a small bug of UI related to showing the magnification