Fix NPE because of widget position being set on server

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>