Fixed redraw issue based on wrong screen center calculation.

Screen center needs to be calculated based on the panel bounds, not the
clip's dimension.