Prevent canvas from jumping back

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>