MADS: Fix for sprite animation range