Fix for centered canvas