Bug on Linux when reopening frame