Added support for getting spritesize