Fixed issue where control styles were being set before the control was rendered on screen