X and Y axes can be scaled and translated, but buggy