I think you should remove the if statement here. The Label class does this checking on other platforms.