Fixing wrong canvas positioning styles