Added hflip and vflip for sprites