Adding assertion to catch bad contentScale values