plugin: fix height resize of the view

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>