Fix for canvas offset