ChromaKeyer: fix asserts and ranges