Fix invalid bounds checking
Fix invalid bounds checking

The recent fix for out of bounds scaling size was incorrectly applied to
the scaling strategy, which is not actually an index, and thus resulted
in the wrong strategy being used.

asa1230/sketch-preview,marcisme/sketch-preview,noyobo/sketch-preview,marcisme/sketch-preview,noyobo/sketch-preview,asa1230/sketch-preview,marcisme/sketch-preview,asa1230/sketch-preview,noyobo/sketch-preview