Fix for issue #669, making histogram alignment easier to control