Fixed Canvas mask issue