Solved the rare crash when input height < stridey