geometry: Fixes for Jean Privat :p

Signed-off-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>