small fix for pagetools in RTL languages