Fixed some bitmap conversion issues

Don't allow specifying an arbitrary width/height ratio when converting
a vector image to a bitmap. Now a scale factor has to be provided.
[GTK] Fix bitmap conversion issue