bugfix : dimension of preview and picture are the same