temporary fix for text offscreen bug