Fixing gallery position.