Does the sentence use modifiers correctly?

I kept perfectly still as the butterfly, landing on my outstretched hand, tentatively moved its wings back and forth before taking off.

Yes, the sentence uses modifiers correctly. The modifiers "perfectly still" and "tentatively" properly describe the actions of the speaker and the butterfly.