fixed bugs a4 fabric js