Modified masterframe for button greying