Fix IndexOutOfBounds if no magnification is stored