Fixed bugs of sine sprite extension.