Fix attributes not updated when teleporting between worlds

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