added support for non centered drawings