fix tests (and take proper width/height values from scene)