Fixed problem with position update.

There was a problem with the position update if the object was child of
another object.
Fixed problem with incorrect sRGB profile in images.