Is fix used to mean the same thing in the next two sentences?

Fix a race.

Let's fix the picture to the frame.
different meanings