Lock button works again.
Readded image position and scale saving and display.