Fix setting of tray border sizes (patch from Aleksandr Samusenko).