Resizing of hotspot images
SCRUM pts - complexity:
The resizing of hotspot images didn't work correctly, i.e. sometimes the aspect ratio was not preserved (e.g. for very wide images).
The attached patch contains a new implementation of this function and should work properly.