Fixes fatal error when width isn't present when setting index state