Guard for MotionEffects on unsupported platforms added