Improve drawing performance for non vertical centering mode

GitHub: fix #35

Reported by Colin Dean. Thanks!!!