Resolves #227. Fixed issue causing tab text to be cut off.