Update ParallaxSprite.swift

automatic type inference not working, manual casting needed