Use max-width instead of width for right-aligned images