Fixed frame skipping when performing visual actions on hidden sprites