fixed travis build for pull requests
fix for issue #56 - drawing out of bounds when min or max manually set