potential bugfix for wrong text rendering