Attempt to fix GUI errors