Principal transferred after 'racially insensitive' comments