Does the sentence use modifiers correctly?

A seagull perched on the deck rails of a hundred-year-old tugboat, its hull rusted and warped.

Yes, the sentence uses modifiers correctly. The modifiers "on the deck rails of a hundred-year-old tugboat" and "its hull rusted and warped" provide additional information about the seagull and the tugboat.