Fixed fpc < 2.7.1 for fpUI.