Fix off by one error when shown was not given
Merge pull request #517 from JelteF/off-by-one-bar

Fix off by one error when shown was not given