Component heights were not getting reset on master web site visibility status.

Added logic to calculate heights based on master site visibility.