fix type from displayFrame to spriteFrame