Fix for Bug #3634 and #3112

Is the ```thickness <= 1``` there for some reason or is it a bug?