fixed text layer overflow issue