Fixed a bug introduced by WebFG

Signed-off-by: Marcin Wiatr <mail.wichura@gmail.com>