The drawing is offset by the height of your buttons above your map so that tells me that your apps css/style is not correct. Can you post the apps code for review?
Thank you very much your is very helpful and solve my problem
This can usually be fixed by using map.reposition() once the page is ready.
Retrieving data ...