Added spritesheet support to the engine