Fixed jcanvas alignment issue