Guard for MotionEffects on upsupported platforms added