added imageMode() and now centers correctly