Change shape timestamps generation

The timestamps of shapes drawn during a non recording period are being correctly generated.