add failsafe around size adjustment
add failsafe around size adjustment

brnZ/spectacle,mindriot101/spectacle,BlessNeo/spectacle,holtkamp/spectacle,adamm/spectacle,owlinux/spectacle,maxx/spectacle,stevemao/spectacle