Post buttons' event sometime gets id from wrong elements